package com.wanxi.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("商品属性")
public class ProductVo {
    @ApiModelProperty("商品id")
    private Integer productId;
    @ApiModelProperty(value = "商品分类",example = "0:海鲜水产；1:肉类食品;2:蔬菜瓜果类;3:冷饮冻食")
    private Integer commodityId;
    @ApiModelProperty(value = "商品名称",example = "牛排，羊肉")
    private String productName;
    @ApiModelProperty(value = "规格",example = "xxxg/包(袋 份)")
    private String specifications;
    @ApiModelProperty("商品货号")
    private Integer productNumber;
    @ApiModelProperty("库存量")
    private Integer Inventory;
    @ApiModelProperty("成本价")
    private BigDecimal costPrice;
    @ApiModelProperty("售价")
    private BigDecimal price;
    @ApiModelProperty("画线价")
    private BigDecimal originalPrice;

}
